package com.web.model;

import java.io.Serializable;
import java.util.Date;

public class UserInfo implements Serializable {

    private static final long serialVersionUID = 2176859564503162717L;
    /**
     *
     * 主键ID
     */
    private Long id;

    /**
     *用户账号
     */
    private String username;

    /**
     * 昵称
     */
    private String nickName;

    /**
     *密码
     */
    private String password;

    /**
     *邮箱
     */
    private String email;

    /**
     *手机号
     */
    private String phone;

    /**
     *创建时间
     */
    private Date createdDt;

    /**
     *更新时间
     */
    private Date modifiedDt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }


    public String getPassword() {
        return password;
    }


    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.email
     *
     * @return the value of user_info.email
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public String getEmail() {
        return email;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.email
     *
     * @param email the value for user_info.email
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.phone
     *
     * @return the value of user_info.phone
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public String getPhone() {
        return phone;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.phone
     *
     * @param phone the value for user_info.phone
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.created_dt
     *
     * @return the value of user_info.created_dt
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public Date getCreatedDt() {
        return createdDt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.created_dt
     *
     * @param createdDt the value for user_info.created_dt
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public void setCreatedDt(Date createdDt) {
        this.createdDt = createdDt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column user_info.modified_dt
     *
     * @return the value of user_info.modified_dt
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public Date getModifiedDt() {
        return modifiedDt;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column user_info.modified_dt
     *
     * @param modifiedDt the value for user_info.modified_dt
     *
     * @mbg.generated Thu Sep 23 16:03:15 CST 2021
     */
    public void setModifiedDt(Date modifiedDt) {
        this.modifiedDt = modifiedDt;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
            "id=" + id +
            ", username='" + username + '\'' +
            ", nickName='" + nickName + '\'' +
            ", password='" + password + '\'' +
            ", email='" + email + '\'' +
            ", phone='" + phone + '\'' +
            ", createdDt=" + createdDt +
            ", modifiedDt=" + modifiedDt +
            '}';
    }
}